package com.quark.result;

import com.quark.common.exception.CustomException;

/**
 * @author 张高昌
 * @date 2021/10/31 18:42
 * @description TODO
 */
public class Asserts {

    public static void fail(String message) {
        throw new CustomException(message);
    }

    public static void fail(ResultErrorCode resultErrorCode) {
        throw new CustomException(resultErrorCode);
    }

}
